﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Search_TinTuc.ascx.cs"
    Inherits="WebApplication.Admins.Controls.Search_TinTuc" %>
<%@ Register Src="~/Controls/UC_pages.ascx" TagName="UC_pages" TagPrefix="uc1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Register Src="UC_pages.ascx" TagName="UC_pages" TagPrefix="uc2" %>
<div class="t_news">
    <div class="t_titles">
        Quản Lý Tin Tức<br />
        <br />
    </div>
    <asp:Label Text="" ID="lblDes" runat="server" CssClass="Des"/>
    <table class="tables">
        <thead>
            <tr class="trs">
                <th class="cid">
                    STT
                </th>
                <th class="names">
                    Tiêu đề
                </th>
                <th class="names">
                    Ngày đăng
                </th>
                <th class="names">
                    Hiển thị
                </th>
                <th class="names">
                    Người đăng
                </th>
            </tr>
        </thead>
        <asp:Repeater runat="server" ID="repTinTuc">
            <ItemTemplate>
                <tr>
                    <td>
                           <%#Container.ItemIndex+1 %>
                    </td>
                    <td>
                        <a href='EditTinTuc.aspx?Id=<%#Eval("IDTinTuc") %>'>
                            <%#Eval("TieuDe") %></a>
                    </td>
                    <td>
                        <%#Eval("NgayDang ", "{0:MM/dd/yyyy}")%>
                    </td>
                    <td>
                       <%#Eval("HienThi")%>
                    </td>
                    <td>
                        <%#Eval("UserName")%>
                    </td>
                </tr>
            </ItemTemplate>
        </asp:Repeater>
    </table>
</div>
<uc2:UC_pages ID="pagerBottom" runat="server" Visible="false" />
